#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# Project: spd-sxmcc
"""
@author: lyndon
@time Created on 2018/11/19 17:01
@desc
"""

from urllib import quote

word = '云南 早教'
word = quote(word)
url = 'https://baike.baidu.com/search/word?word=%s' % word
print(url)

# https://www.tianyancha.com/search/p4?key=%E4%BA%91%E5%8D%97%20%E6%97%A9%E6%95%99

from pyspider.libs.base_handler import *

word = '云南 早教'
word = quote(word)
print(word)
